package com.xubeizhi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xubeizhi.entity.Category;
import com.xubeizhi.vo.CategoryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CategoryMapper extends BaseMapper<Category> {
    List<CategoryVo> selectCategoryList(@Param("category") CategoryVo categoryVo);

    CategoryVo selectCategoryById(@Param("id")Integer id);
}
